package com.itheima.gamedemo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Card {

    private String color;       //花色
    private String number;      //点数
    private int size;           //大小

    @Override
    public String toString() {
        return color + number;
    }
}
